mkenvimage: Fix compiler warning
authorDirk Behme <[email protected]>
Thu, 5 Apr 2012 23:15:07 +0000 (23:15 +0000)
committerAnatolij Gustschin <[email protected]>
Tue, 10 Apr 2012 21:44:30 +0000 (23:44 +0200)
commit1ebff63fb9f4331459f2278c8f15963e312a1b1e
treee2f05b230ff9ed52738bd2d419a581c8c220b00d
parent3786980dd3f28960947084c53878fd849ece897c
mkenvimage: Fix compiler warning

Fix the compiler warning

mkenvimage.c: In function ‘main’:
mkenvimage.c:218: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’
mkenvimage.c:226: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘unsigned int’

introduced with the commit

mkenvimage: Use mmap() when reading from a regular file
6ee39f8055680654f9cc97b98dcce9588f1ab71e

Signed-off-by: Dirk Behme <[email protected]>
CC: David Wagner <[email protected]>
CC: Anatolij Gustschin <[email protected]>
CC: Mike Frysinger <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
Acked-by: David Wagner <[email protected]>
tools/mkenvimage.c